// =====================================================================================
// M8Pim: Provide a convenient way to manage personal information on Meizu M8.
// Copyright (C)  2009  tiger.lee  http://tigerlee.me
// 
// GNU General Public Licence:
// ---------------------------
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or any
// later version.
// 
// This program is distributed in the hope that it will be useful,
//      but WITHOUT ANY WARRANTY; without even the implied warranty of
//      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//      GNU General Public License for more details.
// 
//      You should have received a copy of the GNU General Public License
//      along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
// =====================================================================================

// =====================================================================================
//     Filename: PimDef.h
//  Description: 
//
//       Create: 12/02/09 19:08:52
//       Author: tiger.lee
//        Email: i.m.tiger.lee(at)gmail.com
//      Website: http://tigerlee.me
//
//      Project: http://code.google.c/p/m8pim/
//   Bug Report: http://code.google.com/p/m8pim/issues/list
// =====================================================================================

#pragma once

#include <string>
#include <vector>

#if defined __CYGWIN__ || defined __GNUC__
#ifndef BOOL
#define BOOL		int
#define TRUE		1
#define FALSE		0
#endif
#endif

#if defined __CYGWIN__ || defined __GNUC__
typedef std::string							CPimString;
typedef std::vector<std::string>			CPimStringArray;
typedef std::vector<std::string>::iterator	CPimStringArray;
#else
typedef std::wstring						CPimString;
typedef std::vector<std::wstring>			CPimStringArray;
typedef std::vector<std::wstring>::iterator	CPimStringArrayIter;
#endif
typedef unsigned long				CPimTime;
typedef std::vector<int>			CPimIntArray;
typedef std::vector<int>::iterator	CPimIntArrayIter;

//=====================================================================================
// vim: ft=cpp tabstop=4 shiftwidth=4
